package com.flame.user.mapper;

import java.util.List;

import com.flame.user.entity.OrgInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_org_info 组织机构表
 *
 * @author 吴欣童
 * @since 2023-02-07 17:41:59
 */
@Mapper
public interface OrgInfoMapper {

    void insert(OrgInfo orgInfo);

    void updateById(OrgInfo orgInfo);

    void deleteById(@Param("orgCode") String orgCode);

    OrgInfo findById(@Param("orgCode") String orgCode);

    List<OrgInfo> list();

    List<OrgInfo> listByOrgParent(@Param("orgParent") String orgParent);
}